import cv2

img1 = cv2.imread("img/cv_gaussian_noise.jpg")
img2 = cv2.imread("img/cv_salt_noise.jpg")

img1 = cv2.flip(img1, -1)
img2 = cv2.flip(img2, 1)

i1 = cv2.GaussianBlur(img1, (3, 3), 0)
i2 = cv2.medianBlur(img2, 3)
cv2.imshow("gaussian", img1)
cv2.imshow("salt", img2)
cv2.imshow("GaussianBlur", i1)
cv2.imshow("medianBlur", i2)
cv2.waitKey(0)
cv2.destroyAllWindows()
